
							<?php foreach($all_agen as $agen): ?>
							<tr>
								<td id="nama<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['NAMA']; ?></td>
								<td id="alamat<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['ALAMAT']; ?></td>
								<td id="nama_kota<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['NAMA_KOTA']; ?></td>
								<td id="no_telp<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['NO_TELP']; ?></td>
								<td id="email<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['EMAIL']; ?></td>
								<td id="kode_pos<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['KODE_POS']; ?></td>
								<td id="tanggal_berdiri<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['TANGGAL_BERDIRI']; ?></td>
								<td id="harga_jual<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['HARGA_JUAL']; ?></td>
								<td id="info<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['INFO']; ?></td>
								<td id="no_perijinan<?= $agen['ID_TITIK_PASOK']; ?>"><?= $agen['NO_PERIJINAN']; ?></td>
								<td class="center">
									<a class="btn btn-info" onclick="updateAgen(<?= $agen['ID_TITIK_PASOK'].", 'false'"; ?>);">
										<i class="icon-edit icon-white"></i>       
									</a>
									<a class="btn btn-danger" onclick="deleteAgen(<?= $agen['ID_TITIK_PASOK'].", ".$agen['ID_TITIK_PASOK']; ?>);">
										<i class="icon-trash icon-white"></i> 
									</a>
									<input type="hidden" value="<?= $agen['ID_KOTA']; ?>" id="id_kota<?= $agen['ID_KOTA']; ?>">
									
									<input type="hidden" id="lat<?= $agen['ID_TITIK_PASOK']; ?>" name="lat" value="<?php echo $agen['LAT']; ?>">
									<input type="hidden" id="lng<?= $agen['ID_TITIK_PASOK']; ?>" name="lng" value="<?php echo $agen['LON']; ?>">
									
								</td>
							</tr>
						  <?php endforeach; ?>
							
						  